package com.itshidu.jiaowu.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author XiaZengming123
 * @since 2019-07-10
 */
@Data
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 学生ID
     */
    @TableId(value = "id",type = IdType.INPUT)
    private Long id;
    /**
     * 学信网学历层次(0=无，1=大专，2=本科，3=211/985）
     */
    @TableField("college_level")
    private String collegeLevel;
    /**
     * 学历毕业院校名称
     */
    @TableField("college_name")
    private String collegeName;
    /**
     * 学历毕业日期
     */
    @TableField("graduate_date")
    private Date graduateDate;
    /**
     * 来校日期
     */
    @TableField("join_date")
    private Date joinDate;
    /**
     * 综合积分
     */
    private Integer score;
    /**
     * 学生家长信息
     */
    @TableField("parent_info")
    private String parentInfo;
    /**
     * 1在校   2休学  3退学  4开除
     */
    private Integer status;

    /*
    * 所在班级id
     */
    private Long  classid;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCollegeLevel() {
        return collegeLevel;
    }

    public void setCollegeLevel(String collegeLevel) {
        this.collegeLevel = collegeLevel;
    }

    public String getCollegeName() {
        return collegeName;
    }

    public void setCollegeName(String collegeName) {
        this.collegeName = collegeName;
    }

    public Date getGraduateDate() {
        return graduateDate;
    }

    public void setGraduateDate(Date graduateDate) {
        this.graduateDate = graduateDate;
    }

    public Date getJoinDate() {
        return joinDate;
    }

    public void setJoinDate(Date joinDate) {
        this.joinDate = joinDate;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getParentInfo() {
        return parentInfo;
    }

    public void setParentInfo(String parentInfo) {
        this.parentInfo = parentInfo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getClassid() {
        return classid;
    }

    public void setClassid(Long classid) {
        this.classid = classid;
    }

    @Override
    public String toString() {
        return "Student{" +
        ", id=" + id +
        ", collegeLevel=" + collegeLevel +
        ", collegeName=" + collegeName +
        ", graduateDate=" + graduateDate +
        ", joinDate=" + joinDate +
        ", score=" + score +
        ", parentInfo=" + parentInfo +
        ", status=" + status +
                ", classid=" + classid+
        "}";
    }
}
